/***********************************************
 * Title:       Certificate.java
 * Description: Certificate.java
 * Author:      Niyuzhe
 * Create Date: 2010-3-2
 * CopyRight:   CopyRight(c)@2009
 * Company:     TJUSCS
 * Version:     1.0
 ***********************************************
 */
package edu.tju.student.certificate;
/**
 * @author Niyuzhe
 *
 */
public class Certificate
{
        private long id;
        private long certificateCateId;
        private String name;
        /**
         * @return the id
         */
        public long getId()
        {
                return id;
        }
        /**
         * @param id the id to set
         */
        public void setId(long id)
        {
                this.id = id;
        }
     
        /**
         * @return the name
         */
        public String getName()
        {
                return name;
        }
        /**
         * @param name the name to set
         */
        public void setName(String name)
        {
                this.name = name;
        }
        /**
         * @return the certificateCateId
         */
        public long getCertificateCateId()
        {
                return certificateCateId;
        }
        /**
         * @param certificateCateId the certificateCateId to set
         */
        public void setCertificateCateId(long certificateCateId)
        {
                this.certificateCateId = certificateCateId;
        }
        /* (non-Javadoc)
         * @see java.lang.Object#toString()
         */
        @Override
        public String toString()
        {
                return "Certificate [certificateCateId=" + certificateCateId + ", id=" + id
                                + ", name=" + name + "]";
        }
}
